Automattic\WooCommerce\Admin\Features\Navigation\Menu B

Total Complexity 100
Dependencies 2
Dependents 3
Total lines 733
Lines of code 410
Logical lines of code 184
Comment lines 226
Methods 22
Properties 4

Methods 22

Method Rating Maintainability Complexity Lines of code
migrate_menu_items()
B
44 17 42
migrate_core_child_items()
A
44 13 43
get_post_type_items()
S
45 6 43
has_callback()
S
56 7 19
get_taxonomy_items()
S
47 5 38
add_item()
S
48 5 35
get_parent_key()
S
58 6 17
add_category()
S
50 5 30
add_core_items()
S
60 5 14
get_prepared_menu_item_data()
S
56 4 17
get_category_items()
S
59 4 14
get_callback_url()
S
62 4 11
add_setting_item()
S
56 3 19
add_plugin_category()
S
58 3 16
add_plugin_item()
S
58 3 16
get_item_menu_id()
S
69 3 6
instance()
S
71 2 6
get_items()
S
75 1 4
hide_wp_menu_item()
S
79 1 3
get_callbacks()
S
79 1 3
init()
S
69 1 6
enqueue_data()
S
65 1 8